package com.suxin.queue;

import java.util.Iterator;

/**
 * @author Tang
 * @classname Queue
 * @description [  ]
 * @date 2021/3/11 20:46
 */
public interface Queue<E> extends Iterable<E> {

    void enqueue(E e);

    void outqueue();

    int size();

    boolean isEmpty();

    @Override
    default Iterator<E> iterator() {
        return null;
    }
}